package org.nf.ssm.service;

import com.github.pagehelper.PageInfo;
import org.nf.ssm.domain.Notice;

import java.util.List;

/**
 * @author zhu
 * @date 2024-10-15
 */
public interface NoticeService {

    List<Notice> getNotice(Integer adminId);

    PageInfo<Notice> getAllNotice(Integer pageNum, Integer pageSize);

    Notice getNoticeByTheme(String theme);

    void addNotice(Notice notice);

    void updateNotice(Notice notice);

    void deleteNotice(Integer noticeId);
}
